package com.wicket.okrpbff.biz.service.impl;

import cn.hutool.core.bean.BeanUtil;
import com.wicket.okrframework.integration.FwBaseBusinessObjectClient;
import com.wicket.okrframework.integration.FwBaseInductionRecordClient;
import com.wicket.okrframework.integration.dto.*;
import com.wicket.okrpbff.biz.service.BusinessObjectService;
import com.wicket.okrpbff.biz.service.dto.common.BffBaseMetadataObjectPropertyDto;
import com.wicket.okrpbff.biz.service.dto.common.BffObjectPropertyDto;
import com.wicket.okrpbff.biz.service.dto.req.*;
import com.wicket.okrpbff.biz.service.dto.res.*;
import com.wicket.okrpbff.common.util.RedisUtil;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.stream.Collectors;
import com.wicket.okrpbff.common.exception.Assert;
import cn.hutool.core.collection.CollectionUtil;

/**
 * @author ：
 * @date ：
 *
 *
 * @version 1.0
 */
@Service
public class BusinessObjectServiceImpl implements BusinessObjectService {

    @Resource
    FwBaseBusinessObjectClient fwBaseBusinessObjectClient;
    @Resource
    FwBaseInductionRecordClient fwBaseInductionRecordClient;
    @Resource
    private RedisUtil redisUtil;

    /**
   * B1-1新增业务对象（平台）[342]
   * gen by moon at 8/10/2022, 3:39:28 AM
   */
    @Trace(operationName = "B1-1新增业务对象（平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffAddBizObjectRespDto addBizObject(BffAddBizObjectReqDto reqDto){
      
       
       AddBizObjectRespDto addBizObjectRespDto_1 = null;
//步骤0: D1-1新增业务对象 - addBizObject
     AddBizObjectRespDto addBizObjectRespDto = null;
    AddBizObjectReqDto addBizObjectReqDto=new AddBizObjectReqDto();
  if(reqDto!=null){
      addBizObjectReqDto.setBusinessObjectCnName(reqDto.getBusinessObjectCnName());//sourceId:8709_1
addBizObjectReqDto.setBusinessObjectCode(reqDto.getBusinessObjectCode());//sourceId:8710_1
addBizObjectReqDto.setBusinessObjectTypeCode(reqDto.getBusinessObjectTypeCode());//sourceId:8383_1
addBizObjectReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//sourceId:14016_1
    }
  
    /*D1-1新增业务对象[336]   */
    Assert.isNull(addBizObjectReqDto.getBusinessObjectCnName(),"B1-1新增业务对象（平台）-D1-1新增业务对象-业务对象中文名不能为空",false);
Assert.isNull(addBizObjectReqDto.getBusinessObjectCode(),"B1-1新增业务对象（平台）-D1-1新增业务对象-业务对象编码不能为空",false);
Assert.isNull(addBizObjectReqDto.getBusinessObjectTypeCode(),"B1-1新增业务对象（平台）-D1-1新增业务对象-业务对象类型编码不能为空",false);
Assert.isNull(addBizObjectReqDto.getSubjectLifeCycle(),"B1-1新增业务对象（平台）-D1-1新增业务对象-主体生命周期不能为空",false);
      addBizObjectRespDto = fwBaseBusinessObjectClient.addBizObject(addBizObjectReqDto).getData();
      
      addBizObjectRespDto_1 = addBizObjectRespDto;
    
BffAddBizObjectRespDto retData = new BffAddBizObjectRespDto();
  if(addBizObjectRespDto_1!=null){
      retData.setBusinessObjectId(addBizObjectRespDto_1.getBusinessObjectId());//sourceId:28315_1
    }
  

  
  
return retData;
  }

    /**
   * B1-1查询业务对象列表（平台）[345]
   * gen by moon at 8/31/2022, 7:28:45 PM
   */
    @Trace(operationName = "B1-1查询业务对象列表（平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryBizObjectListRespDto queryBizObjectList(BffQueryBizObjectListReqDto reqDto){
      
       
       QueryBizObjectListRespDto queryBizObjectListRespDto_1 =null;
BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_1 =null;
//步骤0: D1-1查询业务对象列表 - queryBizObjectList
     QueryBizObjectListRespDto queryBizObjectListRespDto = null;
    QueryBizObjectListReqDto queryBizObjectListReqDto=new QueryBizObjectListReqDto();
  if(reqDto!=null){
      queryBizObjectListReqDto.setBusinessObjectCnName(reqDto.getBusinessObjectCnName());//sourceId:9620_1
queryBizObjectListReqDto.setBusinessObjectTypeCode(reqDto.getBusinessObjectTypeCode());//sourceId:9621_1
queryBizObjectListReqDto.setIsArchive(reqDto.getIsArchive());//sourceId:15111_1
    }
  
    /*第1步查询业务对象列表，出参操作人就职记录等[340]   */
    Assert.isNull(queryBizObjectListReqDto.getBusinessObjectTypeCode(),"B1-1查询业务对象列表（平台）-第1步查询业务对象列表，出参操作人就职记录等-业务对象类型编码不能为空",false);
Assert.isNull(queryBizObjectListReqDto.getIsArchive(),"B1-1查询业务对象列表（平台）-第1步查询业务对象列表，出参操作人就职记录等-是否存档不能为空",false);
      queryBizObjectListRespDto = fwBaseBusinessObjectClient.queryBizObjectList(queryBizObjectListReqDto).getData();
      
      queryBizObjectListRespDto_1 = queryBizObjectListRespDto;
    
//步骤1: D1-3批量查询就职记录列表（公共） - batchQueryInductionRecordListCom
     BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto = null;
    if(queryBizObjectListRespDto !=null&&queryBizObjectListRespDto!= null&&  queryBizObjectListRespDto.getBaseMetadataBusinessObjectList() !=null&& queryBizObjectListRespDto.getBaseMetadataBusinessObjectList().size()>0 ){
          BatchQueryInductionRecordListComReqDto batchQueryInductionRecordListComReqDto=new BatchQueryInductionRecordListComReqDto();
  if(queryBizObjectListRespDto!=null){
      batchQueryInductionRecordListComReqDto.setPerOrgInductionRecordList(queryBizObjectListRespDto.getBaseMetadataBusinessObjectList().stream().map(item->item.getOperationInductionId())
        .collect(Collectors.toList()));//sourceId:9618_1
    }
  
    /*D1-3批量查询就职记录列表（公共）[602] 第2步接收上一步就职记录作为入参，查询个人信息资料列表  */
    
      batchQueryInductionRecordListComRespDto = fwBaseInductionRecordClient.batchQueryInductionRecordListCom(batchQueryInductionRecordListComReqDto).getData();
      
      batchQueryInductionRecordListComRespDto_1 = batchQueryInductionRecordListComRespDto;
           }
    
BffQueryBizObjectListRespDto retData = new BffQueryBizObjectListRespDto();
  //数据集融合
        if(queryBizObjectListRespDto_1!= null && !CollectionUtil.isEmpty(queryBizObjectListRespDto_1.getBaseMetadataBusinessObjectList()) ){
          for (BaseMetadataBusinessObjectDto baseMetadataBusinessObjectDto : queryBizObjectListRespDto_1.getBaseMetadataBusinessObjectList()) {
              BffBaseMetadataBusinessObjectDto retElm = new BffBaseMetadataBusinessObjectDto();
             if(queryBizObjectListRespDto_1!=null){
      retElm.setBusinessObjectId(baseMetadataBusinessObjectDto.getBusinessObjectId());//sourceId:3628_2
retElm.setBusinessObjectCnName(baseMetadataBusinessObjectDto.getBusinessObjectCnName());//sourceId:3629_2
retElm.setBusinessObjectCode(baseMetadataBusinessObjectDto.getBusinessObjectCode());//sourceId:3630_2
retElm.setSubjectLifeCycle(baseMetadataBusinessObjectDto.getSubjectLifeCycle());//sourceId:5408_2
retElm.setOperationInductionId(baseMetadataBusinessObjectDto.getOperationInductionId());//sourceId:3632_2
retElm.setOperateTime(baseMetadataBusinessObjectDto.getOperateTime());//sourceId:3633_2
    }
              retData.getBaseMetadataBusinessObjectList().add(retElm);
               if(batchQueryInductionRecordListComRespDto_1!= null){
          for (PerOrgInductionRecordDto perOrgInductionRecordDto : batchQueryInductionRecordListComRespDto_1.getPerOrgInductionRecordList()) {
                if (perOrgInductionRecordDto.getInductionRecordId().equals(baseMetadataBusinessObjectDto.getOperationInductionId())) {
                 if(batchQueryInductionRecordListComRespDto_1!=null){
      retElm.setUserId(perOrgInductionRecordDto.getUserId());//sourceId:38687_2
retElm.setUserFace(perOrgInductionRecordDto.getUserFace());//sourceId:38690_2
retElm.setIdCardName(perOrgInductionRecordDto.getIdCardName());//sourceId:38688_2
retElm.setNickName(perOrgInductionRecordDto.getNickName());//sourceId:38689_2
    }
                }
            }
          }
        
          }
        }//sourceId:9642_1
  

  retData.setPageNum(queryBizObjectListRespDto.getPageNum());
        retData.setPageSize(queryBizObjectListRespDto.getPageSize());
        retData.setTotal(queryBizObjectListRespDto.getTotalNum());
        retData.setIsLastPage((Math.ceil(Double.valueOf(queryBizObjectListRespDto.getTotalNum()) / Double.valueOf(queryBizObjectListRespDto.getPageSize()))) <= retData.getPageNum());
        
  
return retData;
  }

    /**
   * B1-1查询存档条件对象属性类型关系列表（平台）[1140]
   * gen by moon at 8/10/2022, 3:43:03 AM
   */
    @Trace(operationName = "B1-1查询存档条件对象属性类型关系列表（平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryArchiveObjTypeRelationRespDto queryArchiveObjTypeRelation(BffQueryArchiveObjTypeRelationReqDto reqDto){
      
       
       QueryObjTypeRelationListRespDto queryObjTypeRelationListRespDto_1 = null;
//步骤0: D1-1查询对象属性类型关系列表 - queryObjTypeRelationList
     QueryObjTypeRelationListRespDto queryObjTypeRelationListRespDto = null;
    QueryObjTypeRelationListReqDto queryObjTypeRelationListReqDto=new QueryObjTypeRelationListReqDto();
  queryObjTypeRelationListReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:34807_1
if(reqDto!=null){
      queryObjTypeRelationListReqDto.setObjectPropertyId(reqDto.getObjectPropertyId());//sourceId:34806_1
    }
  
    /*D1-1查询对象属性类型关系列表[384]   */
    Assert.isNull(queryObjTypeRelationListReqDto.getObjectPropertyId(),"B1-1查询存档条件对象属性类型关系列表（平台）-D1-1查询对象属性类型关系列表-对象属性ID不能为空",false);
Assert.isNull(queryObjTypeRelationListReqDto.getSubjectLifeCycle(),"B1-1查询存档条件对象属性类型关系列表（平台）-D1-1查询对象属性类型关系列表-主体生命周期不能为空",false);
      queryObjTypeRelationListRespDto = fwBaseBusinessObjectClient.queryObjTypeRelationList(queryObjTypeRelationListReqDto).getData();
      
      queryObjTypeRelationListRespDto_1 = queryObjTypeRelationListRespDto;
    
BffQueryArchiveObjTypeRelationRespDto retData = new BffQueryArchiveObjTypeRelationRespDto();
  if(queryObjTypeRelationListRespDto_1!=null){
      retData.setObjectPropertyList(queryObjTypeRelationListRespDto_1.getObjectPropertyList().stream().map(item->item.getObjectPropertyTypeId())
        .collect(Collectors.toList()));//sourceId:34811_1
    }
  

  retData.setPageNum(queryObjTypeRelationListRespDto.getPageNum());
        retData.setPageSize(queryObjTypeRelationListRespDto.getPageSize());
        retData.setTotal(queryObjTypeRelationListRespDto.getTotalNum());
        retData.setIsLastPage((Math.ceil(Double.valueOf(queryObjTypeRelationListRespDto.getTotalNum()) / Double.valueOf(queryObjTypeRelationListRespDto.getPageSize()))) <= retData.getPageNum());
        
  
return retData;
  }

    /**
   * B1-1查询存档条件对象属性列表[605]
   * gen by moon at 8/10/2022, 3:40:45 AM
   */
    @Trace(operationName = "B1-1查询存档条件对象属性列表")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryArchiveObjAttributeRespDto queryArchiveObjAttribute(BffQueryArchiveObjAttributeReqDto reqDto){
      
       
       QueryObjAttributeListRespDto queryObjAttributeListRespDto_1 = null;
//步骤0: D1-1查询对象属性列表 - queryObjAttributeList
     QueryObjAttributeListRespDto queryObjAttributeListRespDto = null;
    QueryObjAttributeListReqDto queryObjAttributeListReqDto=new QueryObjAttributeListReqDto();
  queryObjAttributeListReqDto.setIsArchive("FALSE");//sourceId:23170_1
if(reqDto!=null){
      queryObjAttributeListReqDto.setBusinessObjectId(reqDto.getBusinessObjectId());//sourceId:10771_1
    }
  
    /*D1-1查询对象属性列表[352]   */
    Assert.isNull(queryObjAttributeListReqDto.getBusinessObjectId(),"B1-1查询存档条件对象属性列表-D1-1查询对象属性列表-业务对象ID不能为空",false);
Assert.isNull(queryObjAttributeListReqDto.getIsArchive(),"B1-1查询存档条件对象属性列表-D1-1查询对象属性列表-是否存档不能为空",false);
      queryObjAttributeListRespDto = fwBaseBusinessObjectClient.queryObjAttributeList(queryObjAttributeListReqDto).getData();
      
      queryObjAttributeListRespDto_1 = queryObjAttributeListRespDto;
    
BffQueryArchiveObjAttributeRespDto retData = new BffQueryArchiveObjAttributeRespDto();
  if(queryObjAttributeListRespDto_1!=null){
      retData.setBaseMetadataObjectPropertyList(queryObjAttributeListRespDto_1.getBaseMetadataObjectPropertyList().stream().map(item->item.getObjectPropertyId())
        .collect(Collectors.toList()));//sourceId:10776_1
    }
  

  retData.setPageNum(queryObjAttributeListRespDto.getPageNum());
        retData.setPageSize(queryObjAttributeListRespDto.getPageSize());
        retData.setTotal(queryObjAttributeListRespDto.getTotalNum());
        retData.setIsLastPage((Math.ceil(Double.valueOf(queryObjAttributeListRespDto.getTotalNum()) / Double.valueOf(queryObjAttributeListRespDto.getPageSize()))) <= retData.getPageNum());
        
  
return retData;
  }

    /**
   * B1-1查询对象属性类型关系列表（平台）[537]
   * gen by moon at 8/10/2022, 3:40:14 AM
   */
    @Trace(operationName = "B1-1查询对象属性类型关系列表（平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryObjTypeRelationListRespDto queryObjTypeRelationList(BffQueryObjTypeRelationListReqDto reqDto){
      
       
       QueryObjTypeRelationListRespDto queryObjTypeRelationListRespDto_1 = null;
//步骤0: D1-1查询对象属性类型关系列表 - queryObjTypeRelationList
     QueryObjTypeRelationListRespDto queryObjTypeRelationListRespDto = null;
    QueryObjTypeRelationListReqDto queryObjTypeRelationListReqDto=new QueryObjTypeRelationListReqDto();
  if(reqDto!=null){
      queryObjTypeRelationListReqDto.setObjectPropertyId(reqDto.getObjectPropertyId());//sourceId:11351_1
queryObjTypeRelationListReqDto.setIsArchive(reqDto.getIsArchive());//sourceId:45384_1
    }
  
    /*D1-1查询对象属性类型关系列表[384]   */
    Assert.isNull(queryObjTypeRelationListReqDto.getObjectPropertyId(),"B1-1查询对象属性类型关系列表（平台）-D1-1查询对象属性类型关系列表-对象属性ID不能为空",false);
Assert.isNull(queryObjTypeRelationListReqDto.getIsArchive(),"B1-1查询对象属性类型关系列表（平台）-D1-1查询对象属性类型关系列表-是否存档不能为空",false);
      queryObjTypeRelationListRespDto = fwBaseBusinessObjectClient.queryObjTypeRelationList(queryObjTypeRelationListReqDto).getData();
      
      queryObjTypeRelationListRespDto_1 = queryObjTypeRelationListRespDto;
    
BffQueryObjTypeRelationListRespDto retData = new BffQueryObjTypeRelationListRespDto();
  if(queryObjTypeRelationListRespDto_1!=null){
      retData.setObjectPropertyList(queryObjTypeRelationListRespDto_1.getObjectPropertyList().stream().map(item -> BeanUtil.toBean(item, BffObjectPropertyDto.class)).collect(Collectors.toList()));//sourceId:34824_1
    }
  

  
  
return retData;
  }

    /**
   * B1-1修改对象属性类型关系（平台）[534]
   * gen by moon at 8/10/2022, 3:40:13 AM
   */
    @Trace(operationName = "B1-1修改对象属性类型关系（平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffUpdateObjTypeRelationRespDto updateObjTypeRelation(BffUpdateObjTypeRelationReqDto reqDto){
      
       
       //步骤0: D1-1修改对象属性类型关系 - updateObjTypeRelation
     UpdateObjTypeRelationRespDto updateObjTypeRelationRespDto = null;
    UpdateObjTypeRelationReqDto updateObjTypeRelationReqDto=new UpdateObjTypeRelationReqDto();
  if(reqDto!=null){
      updateObjTypeRelationReqDto.setObjectPropertyTypeId(reqDto.getObjectPropertyTypeId());//sourceId:10249_1
updateObjTypeRelationReqDto.setOrderNumber(reqDto.getOrderNumber());//sourceId:11374_1
updateObjTypeRelationReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//sourceId:14666_1
    }
  
    /*D1-1修改对象属性类型关系[533]   */
    Assert.isNull(updateObjTypeRelationReqDto.getObjectPropertyTypeId(),"B1-1修改对象属性类型关系（平台）-D1-1修改对象属性类型关系-对象属性类型关系ID不能为空",false);
      updateObjTypeRelationRespDto = fwBaseBusinessObjectClient.updateObjTypeRelation(updateObjTypeRelationReqDto).getData();
      
      
    
BffUpdateObjTypeRelationRespDto retData = new BffUpdateObjTypeRelationRespDto();
  
  

  
  
return retData;
  }

    /**
   * B1-1新增对象属性类型关系（平台）[525]
   * gen by moon at 8/10/2022, 3:40:12 AM
   */
    @Trace(operationName = "B1-1新增对象属性类型关系（平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffAddObjTypeRelationRespDto addObjTypeRelation(BffAddObjTypeRelationReqDto reqDto){
      
       
       AddObjTypeRelationRespDto addObjTypeRelationRespDto_1 = null;
//步骤0: D1-1新增对象属性类型关系 - addObjTypeRelation
     AddObjTypeRelationRespDto addObjTypeRelationRespDto = null;
    AddObjTypeRelationReqDto addObjTypeRelationReqDto=new AddObjTypeRelationReqDto();
  if(reqDto!=null){
      addObjTypeRelationReqDto.setObjectPropertyId(reqDto.getObjectPropertyId());//sourceId:9885_1
addObjTypeRelationReqDto.setTypeId(reqDto.getTypeId());//sourceId:9884_1
addObjTypeRelationReqDto.setOrderNumber(reqDto.getOrderNumber());//sourceId:11365_1
addObjTypeRelationReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//sourceId:14659_1
    }
  
    /*D1-1新增对象属性类型关系[526]   */
    Assert.isNull(addObjTypeRelationReqDto.getObjectPropertyId(),"B1-1新增对象属性类型关系（平台）-D1-1新增对象属性类型关系-对象属性ID不能为空",false);
Assert.isNull(addObjTypeRelationReqDto.getTypeId(),"B1-1新增对象属性类型关系（平台）-D1-1新增对象属性类型关系-类型ID不能为空",false);
Assert.isNull(addObjTypeRelationReqDto.getOrderNumber(),"B1-1新增对象属性类型关系（平台）-D1-1新增对象属性类型关系-排序不能为空",false);
Assert.isNull(addObjTypeRelationReqDto.getSubjectLifeCycle(),"B1-1新增对象属性类型关系（平台）-D1-1新增对象属性类型关系-主体生命周期不能为空",false);
      addObjTypeRelationRespDto = fwBaseBusinessObjectClient.addObjTypeRelation(addObjTypeRelationReqDto).getData();
      
      addObjTypeRelationRespDto_1 = addObjTypeRelationRespDto;
    
BffAddObjTypeRelationRespDto retData = new BffAddObjTypeRelationRespDto();
  if(addObjTypeRelationRespDto_1!=null){
      retData.setObjectPropertyTypeId(addObjTypeRelationRespDto_1.getObjectPropertyTypeId());//sourceId:28319_1
    }
  

  
  
return retData;
  }

    /**
   * B1-1查询枚举字段对象属性详情（平台）[514]
   * gen by moon at 8/10/2022, 3:40:08 AM
   */
    @Trace(operationName = "B1-1查询枚举字段对象属性详情（平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryObjAttributeDetailRespDto queryObjAttributeDetail(BffQueryObjAttributeDetailReqDto reqDto){
      
       
       QueryObjAttributeDetailRespDto queryObjAttributeDetailRespDto_1 = null;
QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto_1 = null;
//步骤0: D1-1查询对象属性详情 - queryObjAttributeDetail
     QueryObjAttributeDetailRespDto queryObjAttributeDetailRespDto = null;
    QueryObjAttributeDetailReqDto queryObjAttributeDetailReqDto=new QueryObjAttributeDetailReqDto();
  if(reqDto!=null){
      queryObjAttributeDetailReqDto.setObjectPropertyId(reqDto.getObjectPropertyId());//sourceId:11185_1
    }
  
    /*D1-1查询对象属性详情[653]   */
    Assert.isNull(queryObjAttributeDetailReqDto.getObjectPropertyId(),"B1-1查询枚举字段对象属性详情（平台）-D1-1查询对象属性详情-对象属性ID不能为空",false);
      queryObjAttributeDetailRespDto = fwBaseBusinessObjectClient.queryObjAttributeDetail(queryObjAttributeDetailReqDto).getData();
      
      queryObjAttributeDetailRespDto_1 = queryObjAttributeDetailRespDto;
    
//步骤1: D1-3查询个人就职记录信息详情（公共） - queryInductionRecordInfoDetailCom
     QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto = null;
    if(queryObjAttributeDetailRespDto !=null){
          QueryInductionRecordInfoDetailComReqDto queryInductionRecordInfoDetailComReqDto=new QueryInductionRecordInfoDetailComReqDto();
  if(queryObjAttributeDetailRespDto!=null){
      queryInductionRecordInfoDetailComReqDto.setInductionRecordId(queryObjAttributeDetailRespDto.getOperationInductionId());//sourceId:14452_1
    }
  
    /*D1-3查询个人就职记录信息详情（公共）[715]   */
    Assert.isNull(queryInductionRecordInfoDetailComReqDto.getInductionRecordId(),"B1-1查询枚举字段对象属性详情（平台）-D1-3查询个人就职记录信息详情（公共）-就职记录ID不能为空",false);
      queryInductionRecordInfoDetailComRespDto = fwBaseInductionRecordClient.queryInductionRecordInfoDetailCom(queryInductionRecordInfoDetailComReqDto).getData();
      
      queryInductionRecordInfoDetailComRespDto_1 = queryInductionRecordInfoDetailComRespDto;
           }
    
BffQueryObjAttributeDetailRespDto retData = new BffQueryObjAttributeDetailRespDto();
  if(queryObjAttributeDetailRespDto_1!=null){
      retData.setObjectPropertyId(queryObjAttributeDetailRespDto_1.getObjectPropertyId());//sourceId:11210_1
retData.setBusinessObjectId(queryObjAttributeDetailRespDto_1.getBusinessObjectId());//sourceId:11211_1
retData.setObjectPropertyCode(queryObjAttributeDetailRespDto_1.getObjectPropertyCode());//sourceId:11212_1
retData.setObjectPropertyName(queryObjAttributeDetailRespDto_1.getObjectPropertyName());//sourceId:11213_1
retData.setIsStatus(queryObjAttributeDetailRespDto_1.getIsStatus());//sourceId:11216_1
retData.setOperationInductionId(queryObjAttributeDetailRespDto_1.getOperationInductionId());//sourceId:11224_1
retData.setOperateTime(queryObjAttributeDetailRespDto_1.getOperateTime());//sourceId:11225_1
    }
if(queryInductionRecordInfoDetailComRespDto_1!=null){
      retData.setPersonalDataId(queryInductionRecordInfoDetailComRespDto_1.getPersonalDataId());//sourceId:14458_1
retData.setUserId(queryInductionRecordInfoDetailComRespDto_1.getUserId());//sourceId:14459_1
retData.setIdCardName(queryInductionRecordInfoDetailComRespDto_1.getIdCardName());//sourceId:14460_1
retData.setNickName(queryInductionRecordInfoDetailComRespDto_1.getNickName());//sourceId:14461_1
retData.setUserFace(queryInductionRecordInfoDetailComRespDto_1.getUserFace());//sourceId:14462_1
    }
  

  
  
return retData;
  }

    /**
   * B1-1查询枚举字段对象属性列表（平台）[513]
   * gen by moon at 8/10/2022, 3:40:06 AM
   */
    @Trace(operationName = "B1-1查询枚举字段对象属性列表（平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryEnumObjAttributeListRespDto queryEnumObjAttributeList(BffQueryEnumObjAttributeListReqDto reqDto){
      
       
       QueryObjAttributeListRespDto queryObjAttributeListRespDto_1 = null;
BatchQueryBizObjectListRespDto batchQueryBizObjectListRespDto_1 = null;
BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_1 = null;
//步骤0: D1-1查询对象属性列表 - queryObjAttributeList
     QueryObjAttributeListRespDto queryObjAttributeListRespDto = null;
    QueryObjAttributeListReqDto queryObjAttributeListReqDto=new QueryObjAttributeListReqDto();
  queryObjAttributeListReqDto.setIsEnumeration("TRUE");//sourceId:11073_1
queryObjAttributeListReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:14287_1
if(reqDto!=null){
      queryObjAttributeListReqDto.setObjectPropertyName(reqDto.getObjectPropertyName());//sourceId:33656_1
queryObjAttributeListReqDto.setIsStatus(reqDto.getIsStatus());//sourceId:25236_1
    }
  
    /*D1-1查询对象属性列表[352]   */
    Assert.isNull(queryObjAttributeListReqDto.getIsEnumeration(),"B1-1查询枚举字段对象属性列表（平台）-D1-1查询对象属性列表-是否枚举字段不能为空",false);
Assert.isNull(queryObjAttributeListReqDto.getSubjectLifeCycle(),"B1-1查询枚举字段对象属性列表（平台）-D1-1查询对象属性列表-主体生命周期不能为空",false);
Assert.isNull(queryObjAttributeListReqDto.getIsStatus(),"B1-1查询枚举字段对象属性列表（平台）-D1-1查询对象属性列表-是否状态不能为空",false);
      queryObjAttributeListRespDto = fwBaseBusinessObjectClient.queryObjAttributeList(queryObjAttributeListReqDto).getData();
      
      queryObjAttributeListRespDto_1 = queryObjAttributeListRespDto;
    
//步骤1: D1-1批量查询业务对象列表（集合公用） - batchQueryBizObjectList
     BatchQueryBizObjectListRespDto batchQueryBizObjectListRespDto = null;
    if(queryObjAttributeListRespDto !=null){
          BatchQueryBizObjectListReqDto batchQueryBizObjectListReqDto=new BatchQueryBizObjectListReqDto();
  if(queryObjAttributeListRespDto!=null){
      batchQueryBizObjectListReqDto.setBusinessObjectIdList(queryObjAttributeListRespDto.getBaseMetadataObjectPropertyList().stream().map(item->item.getBusinessObjectId())
        .collect(Collectors.toList()));//sourceId:11119_1
    }
  
    /*D1-1批量查询业务对象列表（集合公用）[650]   */
    
      batchQueryBizObjectListRespDto = fwBaseBusinessObjectClient.batchQueryBizObjectList(batchQueryBizObjectListReqDto).getData();
      
      batchQueryBizObjectListRespDto_1 = batchQueryBizObjectListRespDto;
           }
    
//步骤2: D1-3批量查询就职记录列表（公共） - batchQueryInductionRecordListCom
     BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto = null;
    if(queryObjAttributeListRespDto !=null){
          BatchQueryInductionRecordListComReqDto batchQueryInductionRecordListComReqDto=new BatchQueryInductionRecordListComReqDto();
  if(queryObjAttributeListRespDto!=null){
      batchQueryInductionRecordListComReqDto.setPerOrgInductionRecordList(queryObjAttributeListRespDto.getBaseMetadataObjectPropertyList().stream().map(item->item.getOperationInductionId())
        .collect(Collectors.toList()));//sourceId:11075_1
    }
  
    /*D1-3批量查询就职记录列表（公共）[602]   */
    
      batchQueryInductionRecordListComRespDto = fwBaseInductionRecordClient.batchQueryInductionRecordListCom(batchQueryInductionRecordListComReqDto).getData();
      
      batchQueryInductionRecordListComRespDto_1 = batchQueryInductionRecordListComRespDto;
           }
    
BffQueryEnumObjAttributeListRespDto retData = new BffQueryEnumObjAttributeListRespDto();
  //数据集融合
        if(queryObjAttributeListRespDto_1!= null && !CollectionUtil.isEmpty(queryObjAttributeListRespDto_1.getBaseMetadataObjectPropertyList())){
          for (BaseMetadataObjectPropertyDto baseMetadataObjectPropertyDto : queryObjAttributeListRespDto_1.getBaseMetadataObjectPropertyList()) {
              BffBaseMetadataObjectPropertyDto retElm = new BffBaseMetadataObjectPropertyDto();
             if(queryObjAttributeListRespDto_1!=null){
      retElm.setObjectPropertyId(baseMetadataObjectPropertyDto.getObjectPropertyId());//sourceId:4390_2
retElm.setObjectPropertyName(baseMetadataObjectPropertyDto.getObjectPropertyName());//sourceId:4391_2
retElm.setIsStatus(baseMetadataObjectPropertyDto.getIsStatus());//sourceId:4403_2
retElm.setOperationInductionId(baseMetadataObjectPropertyDto.getOperationInductionId());//sourceId:15623_2
retElm.setOperateTime(baseMetadataObjectPropertyDto.getOperateTime());//sourceId:4393_2
    }
              retData.getBaseMetadataObjectPropertyList().add(retElm);
               if(batchQueryBizObjectListRespDto_1!= null){
          for (BusinessObjectNameDto businessObjectNameDto : batchQueryBizObjectListRespDto_1.getBusinessObjectNameList()) {
                if (businessObjectNameDto.getBusinessObjectId().equals(baseMetadataObjectPropertyDto.getBusinessObjectId())) {
                 if(batchQueryBizObjectListRespDto_1!=null){
      retElm.setBusinessObjectCnName(businessObjectNameDto.getBusinessObjectCnName());//sourceId:4398_2
    }
                }
            }
          }
        
 if(batchQueryInductionRecordListComRespDto_1!= null){
          for (PerOrgInductionRecordDto perOrgInductionRecordDto : batchQueryInductionRecordListComRespDto_1.getPerOrgInductionRecordList()) {
                if (perOrgInductionRecordDto.getInductionRecordId().equals(baseMetadataObjectPropertyDto.getOperationInductionId())) {
                 if(batchQueryInductionRecordListComRespDto_1!=null){
      retElm.setUserId(perOrgInductionRecordDto.getUserId());//sourceId:38706_2
retElm.setUserFace(perOrgInductionRecordDto.getUserFace());//sourceId:38709_2
retElm.setIdCardName(perOrgInductionRecordDto.getIdCardName());//sourceId:38707_2
retElm.setNickName(perOrgInductionRecordDto.getNickName());//sourceId:38708_2
    }
                }
            }
          }
        
          }
        }//sourceId:11123_1
  

  retData.setPageNum(queryObjAttributeListRespDto.getPageNum());
        retData.setPageSize(queryObjAttributeListRespDto.getPageSize());
        retData.setTotal(queryObjAttributeListRespDto.getTotalNum());
        retData.setIsLastPage((Math.ceil(Double.valueOf(queryObjAttributeListRespDto.getTotalNum()) / Double.valueOf(queryObjAttributeListRespDto.getPageSize()))) <= retData.getPageNum());
        
  
return retData;
  }

    /**
   * B1-1修改对象属性（平台）[375]
   * gen by moon at 9/11/2022, 5:19:23 AM
   */
    @Trace(operationName = "B1-1修改对象属性（平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffUpdateObjAttributeRespDto updateObjAttribute(BffUpdateObjAttributeReqDto reqDto){
      
       
       //步骤0: D1-1修改对象属性 - updateObjAttribute
     UpdateObjAttributeRespDto updateObjAttributeRespDto = null;
    UpdateObjAttributeReqDto updateObjAttributeReqDto=new UpdateObjAttributeReqDto();
  if(reqDto!=null){
      updateObjAttributeReqDto.setObjectPropertyId(reqDto.getObjectPropertyId());//sourceId:10160_1
updateObjAttributeReqDto.setObjectPropertyCode(reqDto.getObjectPropertyCode());//sourceId:10161_1
updateObjAttributeReqDto.setObjectPropertyName(reqDto.getObjectPropertyName());//sourceId:10162_1
updateObjAttributeReqDto.setIsRecordVersion(reqDto.getIsRecordVersion());//sourceId:287638_1
updateObjAttributeReqDto.setOrderNumber(reqDto.getOrderNumber());//sourceId:10170_1
updateObjAttributeReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//sourceId:14274_1
    }
  
    /*D1-1修改对象属性[348]   */
    Assert.isNull(updateObjAttributeReqDto.getObjectPropertyId(),"B1-1修改对象属性（平台）-D1-1修改对象属性-对象属性ID不能为空",false);
      updateObjAttributeRespDto = fwBaseBusinessObjectClient.updateObjAttribute(updateObjAttributeReqDto).getData();
      
      
      
    
BffUpdateObjAttributeRespDto retData = new BffUpdateObjAttributeRespDto();
  
  

  
  
return retData;
  }

    /**
   * B1-1查询对象属性列表（平台）[357]
   * gen by moon at 9/11/2022, 5:19:22 AM
   */
    @Trace(operationName = "B1-1查询对象属性列表（平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryObjAttributeListRespDto queryObjAttributeList(BffQueryObjAttributeListReqDto reqDto){
      
       
       QueryObjAttributeListRespDto queryObjAttributeListRespDto_1 =null;
//步骤0: D1-1查询对象属性列表 - queryObjAttributeList
     QueryObjAttributeListRespDto queryObjAttributeListRespDto = null;
    QueryObjAttributeListReqDto queryObjAttributeListReqDto=new QueryObjAttributeListReqDto();
  if(reqDto!=null){
      queryObjAttributeListReqDto.setBusinessObjectId(reqDto.getBusinessObjectId());//sourceId:10697_1
queryObjAttributeListReqDto.setIsArchive(reqDto.getIsArchive());//sourceId:15121_1
    }
  
    /*D1-1查询对象属性列表[352]   */
    Assert.isNull(queryObjAttributeListReqDto.getBusinessObjectId(),"B1-1查询对象属性列表（平台）-D1-1查询对象属性列表-业务对象ID不能为空",false);
Assert.isNull(queryObjAttributeListReqDto.getIsArchive(),"B1-1查询对象属性列表（平台）-D1-1查询对象属性列表-是否存档不能为空",false);
      queryObjAttributeListRespDto = fwBaseBusinessObjectClient.queryObjAttributeList(queryObjAttributeListReqDto).getData();
      
      
      queryObjAttributeListRespDto_1 = queryObjAttributeListRespDto;
    
BffQueryObjAttributeListRespDto retData = new BffQueryObjAttributeListRespDto();
  if(queryObjAttributeListRespDto_1!=null){
      retData.setBaseMetadataObjectPropertyList(queryObjAttributeListRespDto_1.getBaseMetadataObjectPropertyList().stream().map(item -> BeanUtil.toBean(item, BffBaseMetadataObjectPropertyDto.class)).collect(Collectors.toList()));//sourceId:10699_1
    }
  

  retData.setPageNum(queryObjAttributeListRespDto.getPageNum());
        retData.setPageSize(queryObjAttributeListRespDto.getPageSize());
        retData.setTotal(queryObjAttributeListRespDto.getTotalNum());
        retData.setIsLastPage((Math.ceil(Double.valueOf(queryObjAttributeListRespDto.getTotalNum()) / Double.valueOf(queryObjAttributeListRespDto.getPageSize()))) <= retData.getPageNum());
        
  
return retData;
  }

    /**
   * B1-1新增对象属性（平台）[354]
   * gen by moon at 9/2/2022, 3:00:40 PM
   */
    @Trace(operationName = "B1-1新增对象属性（平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffAddObjAttributeRespDto addObjAttribute(BffAddObjAttributeReqDto reqDto){
      
       
       AddObjAttributeRespDto addObjAttributeRespDto_1 =null;
//步骤0: D1-1新增对象属性 - addObjAttribute
     AddObjAttributeRespDto addObjAttributeRespDto = null;
    AddObjAttributeReqDto addObjAttributeReqDto=new AddObjAttributeReqDto();
  if(reqDto!=null){
      addObjAttributeReqDto.setBusinessObjectId(reqDto.getBusinessObjectId());//sourceId:9780_1
addObjAttributeReqDto.setBusinessObjectCode(reqDto.getBusinessObjectCode());//sourceId:21177_1
addObjAttributeReqDto.setObjectPropertyCode(reqDto.getObjectPropertyCode());//sourceId:9781_1
addObjAttributeReqDto.setObjectPropertyName(reqDto.getObjectPropertyName());//sourceId:9782_1
addObjAttributeReqDto.setObjectPropertyTypeCode(reqDto.getObjectPropertyTypeCode());//sourceId:9783_1
addObjAttributeReqDto.setIsEnumeration(reqDto.getIsEnumeration());//sourceId:9784_1
addObjAttributeReqDto.setIsStatus(reqDto.getIsStatus());//sourceId:61627_1
addObjAttributeReqDto.setIsPrimaryKey(reqDto.getIsPrimaryKey());//sourceId:9786_1
addObjAttributeReqDto.setObjectPropertyAlias(reqDto.getObjectPropertyAlias());//sourceId:9789_1
addObjAttributeReqDto.setIsRecordVersion(reqDto.getIsRecordVersion());//sourceId:28063_1
addObjAttributeReqDto.setOrderNumber(reqDto.getOrderNumber());//sourceId:9790_1
addObjAttributeReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//sourceId:14266_1
    }
  
    /*D1-1新增对象属性[347]   */
    Assert.isNull(addObjAttributeReqDto.getBusinessObjectId(),"B1-1新增对象属性（平台）-D1-1新增对象属性-业务对象ID不能为空",false);
Assert.isNull(addObjAttributeReqDto.getBusinessObjectCode(),"B1-1新增对象属性（平台）-D1-1新增对象属性-业务对象编码不能为空",false);
Assert.isNull(addObjAttributeReqDto.getObjectPropertyCode(),"B1-1新增对象属性（平台）-D1-1新增对象属性-对象属性标识不能为空",false);
Assert.isNull(addObjAttributeReqDto.getObjectPropertyName(),"B1-1新增对象属性（平台）-D1-1新增对象属性-对象属性名称不能为空",false);
Assert.isNull(addObjAttributeReqDto.getObjectPropertyTypeCode(),"B1-1新增对象属性（平台）-D1-1新增对象属性-对象属性类型不能为空",false);
Assert.isNull(addObjAttributeReqDto.getOrderNumber(),"B1-1新增对象属性（平台）-D1-1新增对象属性-排序不能为空",false);
Assert.isNull(addObjAttributeReqDto.getSubjectLifeCycle(),"B1-1新增对象属性（平台）-D1-1新增对象属性-主体生命周期不能为空",false);
      addObjAttributeRespDto = fwBaseBusinessObjectClient.addObjAttribute(addObjAttributeReqDto).getData();
      
      
      addObjAttributeRespDto_1 = addObjAttributeRespDto;
    
BffAddObjAttributeRespDto retData = new BffAddObjAttributeRespDto();
  if(addObjAttributeRespDto_1!=null){
      retData.setObjectPropertyId(addObjAttributeRespDto_1.getObjectPropertyId());//sourceId:28395_1
    }
  

  
  
return retData;
  }

    /**
   * B1-1查询业务对象详情（平台）[346]
   * gen by moon at 8/10/2022, 3:39:33 AM
   */
    @Trace(operationName = "B1-1查询业务对象详情（平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryBizObjectDetailRespDto queryBizObjectDetail(BffQueryBizObjectDetailReqDto reqDto){
      
       
       QueryBizObjectDetailRespDto queryBizObjectDetailRespDto_1 = null;
QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto_1 = null;
//步骤0: D1-1查询业务对象详情 - queryBizObjectDetail
     QueryBizObjectDetailRespDto queryBizObjectDetailRespDto = null;
    QueryBizObjectDetailReqDto queryBizObjectDetailReqDto=new QueryBizObjectDetailReqDto();
  if(reqDto!=null){
      queryBizObjectDetailReqDto.setBusinessObjectId(reqDto.getBusinessObjectId());//sourceId:9060_1
    }
  
    /*D1-1查询元数据业务对象详情、获取创建人与冗余状态操作人就职记录ID用于下个虚拟用况接口的入参[341]   */
    Assert.isNull(queryBizObjectDetailReqDto.getBusinessObjectId(),"B1-1查询业务对象详情（平台）-D1-1查询元数据业务对象详情、获取创建人与冗余状态操作人就职记录ID用于下个虚拟用况接口的入参-业务对象ID不能为空",false);
      queryBizObjectDetailRespDto = fwBaseBusinessObjectClient.queryBizObjectDetail(queryBizObjectDetailReqDto).getData();
      
      queryBizObjectDetailRespDto_1 = queryBizObjectDetailRespDto;
    
//步骤1: D1-3查询个人就职记录信息详情（公共） - queryInductionRecordInfoDetailCom
     QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto = null;
    if(queryBizObjectDetailRespDto !=null){
          QueryInductionRecordInfoDetailComReqDto queryInductionRecordInfoDetailComReqDto=new QueryInductionRecordInfoDetailComReqDto();
  if(queryBizObjectDetailRespDto!=null){
      queryInductionRecordInfoDetailComReqDto.setInductionRecordId(queryBizObjectDetailRespDto.getOperationInductionId());//sourceId:14463_1
    }
  
    /*D1-3查询个人就职记录信息详情（公共）[715]   */
    Assert.isNull(queryInductionRecordInfoDetailComReqDto.getInductionRecordId(),"B1-1查询业务对象详情（平台）-D1-3查询个人就职记录信息详情（公共）-就职记录ID不能为空",false);
      queryInductionRecordInfoDetailComRespDto = fwBaseInductionRecordClient.queryInductionRecordInfoDetailCom(queryInductionRecordInfoDetailComReqDto).getData();
      
      queryInductionRecordInfoDetailComRespDto_1 = queryInductionRecordInfoDetailComRespDto;
           }
    
BffQueryBizObjectDetailRespDto retData = new BffQueryBizObjectDetailRespDto();
  if(queryBizObjectDetailRespDto_1!=null){
      retData.setBusinessObjectId(queryBizObjectDetailRespDto_1.getBusinessObjectId());//sourceId:9460_1
retData.setBusinessObjectCnName(queryBizObjectDetailRespDto_1.getBusinessObjectCnName());//sourceId:9461_1
retData.setBusinessObjectCode(queryBizObjectDetailRespDto_1.getBusinessObjectCode());//sourceId:9462_1
retData.setBusinessObjectTypeCode(queryBizObjectDetailRespDto_1.getBusinessObjectTypeCode());//sourceId:9463_1
retData.setSubjectLifeCycle(queryBizObjectDetailRespDto_1.getSubjectLifeCycle());//sourceId:14469_1
retData.setOperationInductionId(queryBizObjectDetailRespDto_1.getOperationInductionId());//sourceId:9465_1
retData.setOperateTime(queryBizObjectDetailRespDto_1.getOperateTime());//sourceId:9466_1
    }
if(queryInductionRecordInfoDetailComRespDto_1!=null){
      retData.setPersonalDataId(queryInductionRecordInfoDetailComRespDto_1.getPersonalDataId());//sourceId:14470_1
retData.setUserId(queryInductionRecordInfoDetailComRespDto_1.getUserId());//sourceId:14471_1
retData.setIdCardName(queryInductionRecordInfoDetailComRespDto_1.getIdCardName());//sourceId:14472_1
retData.setNickName(queryInductionRecordInfoDetailComRespDto_1.getNickName());//sourceId:14473_1
retData.setUserFace(queryInductionRecordInfoDetailComRespDto_1.getUserFace());//sourceId:14474_1
    }
  

  
  
return retData;
  }

    /**
   * B1-1修改业务对象（平台）[343]
   * gen by moon at 8/10/2022, 3:39:30 AM
   */
    @Trace(operationName = "B1-1修改业务对象（平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffUpdateBizObjectRespDto updateBizObject(BffUpdateBizObjectReqDto reqDto){
      
       
       //步骤0: D1-1修改业务对象 - updateBizObject
     UpdateBizObjectRespDto updateBizObjectRespDto = null;
    UpdateBizObjectReqDto updateBizObjectReqDto=new UpdateBizObjectReqDto();
  if(reqDto!=null){
      updateBizObjectReqDto.setBusinessObjectId(reqDto.getBusinessObjectId());//sourceId:8997_1
updateBizObjectReqDto.setBusinessObjectCnName(reqDto.getBusinessObjectCnName());//sourceId:8998_1
updateBizObjectReqDto.setBusinessObjectCode(reqDto.getBusinessObjectCode());//sourceId:8999_1
updateBizObjectReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//sourceId:14027_1
    }
  
    /*D1-1修改业务对象[337]   */
    Assert.isNull(updateBizObjectReqDto.getBusinessObjectId(),"B1-1修改业务对象（平台）-D1-1修改业务对象-业务对象ID不能为空",false);
      updateBizObjectRespDto = fwBaseBusinessObjectClient.updateBizObject(updateBizObjectReqDto).getData();
      
      
    
BffUpdateBizObjectRespDto retData = new BffUpdateBizObjectRespDto();
  
  

  
  
return retData;
  }
    //
}
